package com.yzt.zhuju.network.service;

import com.yzt.zhuju.network.apiconfig.SystemUrlConfig;
import com.yzt.zhuju.network.entity.sysConfig.AdvBannerEntity;
import com.yzt.plugin_network.response.HttpResponse;

import retrofit2.http.GET;

import retrofit2.http.Query;
import rx.Observable;

/**
 * author : bob
 * date   : 2022/12/6
 * desc   :
 */
public interface MainService {

    /**
     * 广告banner
     */
    @GET(SystemUrlConfig.API_ADV_BANNER)
    Observable<HttpResponse<AdvBannerEntity>> getAdvList(@Query("type") String type);

}
